<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link type="text/css" href="<c:url value="/resources/css/chamber.css" />" rel="stylesheet" media="screen"/>
<html>
	<body>
		<div>
			<form:form id="loginForm" method="POST" commandName="login">
				<form:errors path="*" cssClass="errorblock" element="div"/>
				<div class="loginDiv">
					<table class="loginTable">
						<tr>
							<td class="labelfield">UserName : </td>
							<td class="inputfield"><form:input path="userName" /></td>
							<td class="labelfield"><form:errors path="userName" cssClass="error" /></td>
						</tr>
						<tr>
							<td class="labelfield">Password : </td>
							<td class="inputfield"><form:password path="password" /></td>
							<td class="labelfield"><form:errors path="password" cssClass="error" /></td>
						</tr>
						<tr>
							<td colspan="3" align="right">
							<input type="submit" value="Login" />
							</td>
						</tr>
					</table>
				</div>
			</form:form>
		</div>
	</body>
</html>